﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;

namespace Coldairarrow.Entity.Interface
{
    /// <summary>
    /// 发货通知单
    /// </summary>
    /// 
    public class SendNotice
    {
        public string RowId { get; set; }
        /// <summary>
        /// id	
        /// </summary>
        public string id { get; set; }
        /// <summary>
        /// asn单号	
        /// </summary>
        public string asnNo { get; set; }
        /// <summary>
        /// asn类型	
        /// </summary>
        public string asnType { get; set; }
        /// <summary>
        /// 采购单号	
        /// </summary>
        public string poNo { get; set; }
        /// <summary>
        /// erp单号	
        /// </summary>
        public string erpNo { get; set; }
        /// <summary>
        /// 运输方式	
        /// </summary>
        public string trackType { get; set; }
        /// <summary>
        /// 备注	
        /// </summary>
        public string ownerRemark { get; set; }
        /// <summary>
        /// 状态	
        /// </summary>
        public string status { get; set; }
        /// <summary>
        /// 审核状态
        /// </summary>
        public string auditStatus { get; set; }
        /// <summary>
        /// 发运计划单号	
        /// </summary>
        public string planningNo { get; set; }
        /// <summary>
        /// sku总数	
        /// </summary>
        public string skuTotal { get; set; }
        /// <summary>
        /// 总重量	
        /// </summary>
        public string totalWeight { get; set; }
        /// <summary>
        /// 总体积	
        /// </summary>
        public string totalVolume { get; set; }
        /// <summary>
        /// 收货sku个数	
        /// </summary>
        public string receivingSkuNum { get; set; }
        /// <summary>
        /// 收货sku总数	
        /// </summary>
        public string receivingSkuTotal { get; set; }
        /// <summary>
        /// 主提单号	
        /// </summary>
        public string masterBolNo { get; set; }
        /// <summary>
        /// 集装箱装运号	
        /// </summary>
        public string containerNo { get; set; }
        /// <summary>
        /// 船公司	
        /// </summary>
        public string shipCompanyCode { get; set; }
        /// <summary>
        /// 尺寸信息	
        /// </summary>
        public string containerModel { get; set; }
        /// <summary>
        /// 铅封号	
        /// </summary>
        public string sealNo { get; set; }
        /// <summary>
        /// 陆运承运商	
        /// </summary>
        public string landCarrier { get; set; }
        /// <summary>
        /// 代理	
        /// </summary>
        public string broker { get; set; }
        /// <summary>
        /// 提单号	
        /// </summary>
        public string bolNo { get; set; }
        /// <summary>
        /// 陆地货运跟踪号	
        /// </summary>
        public string proNo { get; set; }
        /// <summary>
        /// 托盘数	
        /// </summary>
        public string palletNo { get; set; }
        /// <summary>
        /// 实收托盘数	
        /// </summary>
        public string receivePalletNo { get; set; }
        /// <summary>
        /// 陆运预计到仓时间	
        /// </summary>
        public string landEta { get; set; }
        /// <summary>
        /// 快递承运商	
        /// </summary>
        public string expressCarrier { get; set; }
        /// <summary>
        /// 快递跟踪号	
        /// </summary>
        public string trackNo { get; set; }
        /// <summary>
        /// 创建时间	
        /// </summary>
        public string createTime { get; set; }
        /// <summary>
        /// 快递预计到仓时间	
        /// </summary>
        public string expressEta { get; set; }
        /// <summary>
        /// 卡车公司	
        /// </summary>
        public string trucker { get; set; }
        /// <summary>
        /// 卡车预约到达时间	
        /// </summary>
        public string requestApptDate { get; set; }
        /// <summary>
        /// 卡车实际到达时间	
        /// </summary>
        public string truckerDeliveryDate { get; set; }
        /// <summary>
        /// 仓库收货完成日期	
        /// </summary>
        public string receivingDate { get; set; }
        /// <summary>
        ///首次收货时间	
        /// </summary>
        public string firReceiveTime { get; set; }
        /// <summary>
        /// 关单时间	
        /// </summary>
        public string closeTime { get; set; }
        /// <summary>
        /// 关单说明	
        /// </summary>
        public string closeRemark { get; set; }
        /// <summary>
        /// 明细	
        /// </summary>
        public List<details> details { get; set; }
        /// <summary>
        /// 收货信息	
        /// </summary>
        public List<receives> receives { get; set; }
        /// <summary>
        /// 计费流水	
        /// </summary>
        public List<flows> flows { get; set; }

    }
    public class details
    {
        /// <summary>
        /// id	
        /// </summary>
        public string id { get; set; }
        /// <summary>
        /// RowId	
        /// </summary>
        public string RowId { get; set; }
        /// <summary>
        /// 订单号	
        /// </summary>
        public string orderNo { get; set; }
        /// <summary>
        /// 货品编码	
        /// </summary>
        public string goodsCode { get; set; }
        /// <summary>
        /// 货品编码(MSKU)	
        /// </summary>
        public string goodsCode_MSKU { get; set; }
        /// <summary>
        /// 货品中文名	
        /// </summary>
        public string cnName { get; set; }
        /// <summary>
        /// 货品英文名	
        /// </summary>
        public string enName { get; set; }
        /// <summary>
        /// 货品数量	
        /// </summary>
        public string goodsNum { get; set; }
        /// <summary>
        /// 实收数量	
        /// </summary>
        public string receivingNum { get; set; }
    }
    public class receives
    {
        /// <summary>
        /// 类型	
        /// </summary>
        public string picType { get; set; }
        /// <summary>
        /// 图片链接	
        /// </summary>
        public string picUrl { get; set; }
        /// <summary>
        /// 节点时间
        /// </summary>
        public string receivingDate { get; set; }
    }

    public class flows
    {
        /// <summary>
        /// 计费时间	
        /// </summary>
        public string billTime { get; set; }
        /// <summary>
        /// 费用类型	
        /// </summary>
        public string costType { get; set; }
        /// <summary>
        /// 费用中文名
        /// </summary>
        public string costCnName { get; set; }
        /// <summary>
        /// 费用英文名
        /// </summary>
        public string costEnName { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public string unitPrice { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public string amount { get; set; }
        /// <summary>
        /// 币种
        /// </summary>
        public string currency { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public string billStatus { get; set; }
        /// <summary>
        /// 调整金额
        /// </summary>
        public string adjustAmount { get; set; }
        /// <summary>
        /// 总金额
        /// </summary>
        public string totalAmount { get; set; }
    }

}
